﻿namespace Mediator.Framework.Runtime.Communication
{
    public interface IProtocol
    {
        IListner Listen(IListnerProcessor listnerProcessor);
        IListner Listen(IListnerProcessor listnerProcessor,IEndpoint localEndpoint);
    }
}